package org.jeecg.cn.edu.scau.vm.machineTime.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.cn.edu.scau.vm.machineTime.entity.VmUserSettings;
import org.jeecg.cn.edu.scau.vm.machineTime.vo.UserSettingsVo;
import org.jeecg.common.api.vo.Result;
import org.jeecg.common.system.vo.LoginUser;

public interface IVmUserSettingsService extends IService<VmUserSettings> {
    VmUserSettings getByUserId(String userId);

    VmUserSettings createUserSetting(LoginUser loginUser);

    Result<String> syncData();

    IPage<UserSettingsVo> pageInfo(Page<VmUserSettings> page, QueryWrapper<VmUserSettings> queryWrapper);

}
